> ## Documentation Index
> Fetch the complete documentation index at: https://sequence-0fb8d9e6-relayer_docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 外部ウォレットの接続

> Sequence インフラスタックを用いた web3 ゲーム向け Unreal SDK API のセッション管理に関するドキュメントです。

Unreal プロジェクトでリンク済みウォレットの取得や解除ができます。Metamask などの外部ウォレットをウェブアプリで[リンクする方法はこちら](/solutions/wallets/developers/embedded-wallet/wallet-linking) をご覧ください。
ウォレットのリンクにより、Indexer を使って外部所有アイテムの残高を照会するなど、読み取り専用アクセスが可能になります。

## 連携済みウォレットの取得

ユーザーがEmbedded Walletに連携した全ウォレットの一覧を取得します。

<Tabs>
  <Tab title="ブループリント">
    <Frame>
      <img src="https://mintcdn.com/sequence-0fb8d9e6-relayer_docs/6udOBi1aBhs72bAQ/images/unreal/get_linked_wallets.png?fit=max&auto=format&n=6udOBi1aBhs72bAQ&q=85&s=d4da398dfdb8109790e34fcba34efe67" width="2242" height="1184" data-path="images/unreal/get_linked_wallets.png" />
    </Frame>
  </Tab>

  <Tab title="C++">
    ```cpp theme={null}
    const TFunction<void (FSeqLinkedWalletsResponse)> OnApiSuccess = [OnSuccess](const FSeqLinkedWalletsResponse& LinkedWallets) { };
    const TFunction<void (FSequenceError)> OnApiFailure = [OnFailure](const FSequenceError& Err) { };

    USequenceWallet* Wallet = NewObject<USequenceWallet>();
    Wallet->GetLinkedWallets(OnApiSuccess, OnApiFailure);
    ```
  </Tab>
</Tabs>

## 連携済みウォレットの削除

指定したウォレットを削除します。

<Tabs>
  <Tab title="ブループリント">
    <Frame>
      <img src="https://mintcdn.com/sequence-0fb8d9e6-relayer_docs/mAGiont-gk7dLIZB/images/unreal/remove_linked_wallets.png?fit=max&auto=format&n=mAGiont-gk7dLIZB&q=85&s=fbf06eb83e872b256ad574ff795e3292" width="2242" height="1184" data-path="images/unreal/remove_linked_wallets.png" />
    </Frame>
  </Tab>

  <Tab title="C++">
    ```cpp theme={null}
    const TFunction<void()> OnApiSuccess = [OnSuccess]() { };
    const TFunction<void (FSequenceError)> OnApiFailure = [OnFailure](const FSequenceError& Err) { };

    USequenceWallet* Wallet = NewObject<USequenceWallet>();
    Wallet->RemoveLinkedWallet(LinkedWalletAddress, OnApiSuccess, OnApiFailure);
    ```
  </Tab>
</Tabs>
